An efficient algorithm for decomposing a polygon into star-shaped polygons
نویسندگان
چکیده
In this paper we show how a theorem in plane geometry can be converted into an O(n log n) algorithm for decomposing a polygon into star-shaped subsets. The computational efficiency or this new decomposition contrasts with the heavy computational burden of existing methods. 1.0 Introduction The decomposition of a simple planar polygon into simpler components plays an important role in syntactic pattern recognition. Some examples of possible decompositions are decompositions into convex polygons [1], [2], decompositions into spiral polygons [3] and decompositions into monotone polygons [4]. A survey of these methods and many other additional references are contained in Pavlidis [5]. A star-shaped polygon is one in which the entire polygon is visible from at least one fixed point of the polygon. In this note we consider decompositions into star-shaped polygons and give an efficient algorithm for this problem. A similar decomposition has previously been suggested by Maruyama [6] in his thesis. His solution involves the creation of new Steiner points, yields overlapping star-shaped components and requires a complicated and expensive computation. The main part of this paper describes an O(n log n) algorithm for decomposing a polygon with n vertices into disjoint star-shaped polygons. This decomposition does not involve the creation of any new vertices and can always yield a decomposition with at most [n/3] star-shaped polygons ([x] here denotes the greatest integer less than or equal to x). It does not, however, normally give a decomposition into the minimum number of star-shaped polygons. On the other hand, our procedure is extremely flexible and can easily be modified to give a set of radically different decompositions.
منابع مشابه
A Fast Algorithm for Covering Rectangular Orthogonal Polygons with a Minimum Number of r-Stars
Introduction This paper presents an algorithm for covering orthogonal polygons with minimal number of guards. This idea examines the minimum number of guards for orthogonal simple polygons (without holes) for all scenarios and can also find a rectangular area for each guards. We consider the problem of covering orthogonal polygons with a minimum number of r-stars. In each orthogonal polygon P,...
متن کاملGenerating random star-shaped polygons
In this paper we deal with two problems on star-shaped polygons. At rst, we present a Las-Vegas algorithm that uniformly at random creates a star-shaped polygon whose vertices are given by a point set S of n points in the plane that does not admit degenerated star-shaped polygons. The expected running time of the algorithm is O(n logn) and it uses O(n) memory. We call a starshaped polygon degen...
متن کاملGenerating Random Star-shaped Polygons (extended Abstract)
In this paper we deal with two problems on star-shaped polygons. First, we present a Las-Vegas algorithm that uniformly at random creates a star-shaped polygon whose vertices are given by a point set S of n points in the plane that does not admit degenerate star-shaped polygons. The expected running time of the algorithm is O(n 2 logn) and it uses O(n) memory. We call a star-shaped polygon dege...
متن کاملK-star-shaped Polygons
We introduce k-star-shaped polygons, polygons for which there exists at least one point x such that for any point y of the polygon, segment xy crosses the polygon’s boundary at most k times. The set of all such points x is called the k-kernel of the polygon. We show that the maximum complexity (number of vertices) of the k-kernel of an n-vertex polygon is Θ(n) if k = 2 and Θ(n) if k ≥ 4. We giv...
متن کاملShape blending using the star-skeleton representation
We present a novel approach to the problem of generating a polygon sequence that blends two simple polygons given a correspondence between their boundaries. Previous approaches to this problem, including direct vertex interpolation and an interpolation based on edge lengths and angles between edges, tend to produce self intersections and shape distortions. Our approach introduces the star-skele...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Pattern Recognition
دوره 13 شماره
صفحات -
تاریخ انتشار 1981